package cn.stylefeng.guns.modular.lx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wzh
 * @since 2023-12-01
 */
@TableName("lx_sp_wzh")
public class LxSpWzh implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "sp_id", type = IdType.AUTO)
    private Integer spId;

    /**
     * 条形码
     */
    @TableField("sp_txm")
    private Integer spTxm;

    /**
     * 规格
     */
    @TableField("sp_guige")
    private String spGuige;

    /**
     * 名称
     */
    @TableField("sp_name")
    private String spName;

    /**
     * 单位
     */
    @TableField("sp_danwei")
    private String spDanwei;

    /**
     * 产地
     */
    @TableField("sp_chandi")
    private String spChandi;

    /**
     * 存货量
     */
    @TableField("sp_chuo")
    private String spChuo;

    /**
     * 所属类别
     */
    @TableField("sp_suoshu")
    private String spSuoshu;

    /**
     * 零售价
     */
    @TableField("sp_lings")
    private Double spLings;

    /**
     * 批发价
     */
    @TableField("sp_pifa")
    private Double spPifa;

    /**
     * 备注
     */
    @TableField("sp_bz")
    private String spBz;


    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public Integer getSpTxm() {
        return spTxm;
    }

    public void setSpTxm(Integer spTxm) {
        this.spTxm = spTxm;
    }

    public String getSpGuige() {
        return spGuige;
    }

    public void setSpGuige(String spGuige) {
        this.spGuige = spGuige;
    }

    public String getSpName() {
        return spName;
    }

    public void setSpName(String spName) {
        this.spName = spName;
    }

    public String getSpDanwei() {
        return spDanwei;
    }

    public void setSpDanwei(String spDanwei) {
        this.spDanwei = spDanwei;
    }

    public String getSpChandi() {
        return spChandi;
    }

    public void setSpChandi(String spChandi) {
        this.spChandi = spChandi;
    }

    public String getSpChuo() {
        return spChuo;
    }

    public void setSpChuo(String spChuo) {
        this.spChuo = spChuo;
    }

    public String getSpSuoshu() {
        return spSuoshu;
    }

    public void setSpSuoshu(String spSuoshu) {
        this.spSuoshu = spSuoshu;
    }

    public Double getSpLings() {
        return spLings;
    }

    public void setSpLings(Double spLings) {
        this.spLings = spLings;
    }

    public Double getSpPifa() {
        return spPifa;
    }

    public void setSpPifa(Double spPifa) {
        this.spPifa = spPifa;
    }

    public String getSpBz() {
        return spBz;
    }

    public void setSpBz(String spBz) {
        this.spBz = spBz;
    }

    @Override
    public String toString() {
        return "LxSpWzh{" +
        "spId=" + spId +
        ", spTxm=" + spTxm +
        ", spGuige=" + spGuige +
        ", spName=" + spName +
        ", spDanwei=" + spDanwei +
        ", spChandi=" + spChandi +
        ", spChuo=" + spChuo +
        ", spSuoshu=" + spSuoshu +
        ", spLings=" + spLings +
        ", spPifa=" + spPifa +
        ", spBz=" + spBz +
        "}";
    }
}
